const getters = {
  appName: state => state.app.appName,
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  scriptLayout: state => state.app.scriptLayout,
  theme: state => state.settings.theme,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  refreshTokenKey: state => state.user.refreshTokenKey,
  nameCn: state => state.user.nameCn,
  deptName: state => state.user.deptName,
  deptId: state => state.user.deptId,
  topTitle: state => state.user.topTitle,
  topName: state => state.user.topName,
  topIcon: state => state.user.topIcon,
  resources: state => state.user.resources,
  routes: state => state.user.routes,
  addRoutes: state => state.user.addRoutes,
  menus: state => state.user.menus
}
export default getters
